package sat.component;

import org.mt4j.MTApplication;
import org.mt4j.components.TransformSpace;
import org.mt4j.components.visibleComponents.widgets.buttons.MTImageButton;
import org.mt4j.util.MTColor;
import org.mt4j.util.math.Vector3D;

import processing.core.PImage;

public class KeyboardButton extends MTImageButton {

//	private MTApplication app;
//	private PImage pimage;
	
	public KeyboardButton(MTApplication mtApplication, PImage keyboardImg){
		super(mtApplication, keyboardImg);
		
//		app=mtApplication;
//		pimage=keyboardImg;
		this.setFillColor(new MTColor(255,255,255,200));
		this.setName("KeyboardButton");
		this.setNoStroke(true);
		this.translateGlobal(new Vector3D(-2,mtApplication.height-this.getWidthXY(TransformSpace.GLOBAL)+2,0));
		
		
	}
	
	
}
